package com.ztgf.shopping.models.dto.shop;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("shop_online")
@ApiModel(value = "用户在线时长表对象", description = "用户在线时长表对象")
public class ShopOnlineDTO extends BaseDTO implements Serializable {


    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "退出登录时间")
    private Date outTime;

    @ApiModelProperty(value = "单次在线时长(单位：分钟)")
    private Long duration;

    @ApiModelProperty(value = "在线状态:0离线,1在线")
    private Integer isOnline;
}
